<section>
  <d-tabs [(activeTab)]="acticeTabId" [beforeChange]="beforeChange">
    <d-tab *ngFor="let item of tabItems" [id]="item.id">
      <ng-template dTabTitle>
        {{ item.title }}
      </ng-template>
      <ng-template dTabContent>
        {{ item.content }}
      </ng-template>
    </d-tab>
  </d-tabs>
</section>
